<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="../../include/admincontent.jsp" %>
<div id="Content">
    <form id="excelValid" method="post" action="/Do/MS/MsEnclosureUpload" enctype="multipart/form-data">
        <input type="hidden" name="pid" value="${pid}"/>
        <input type="hidden" name="pname" value="${pname}"/>
        <input type="hidden" name="jid" value="${jid}"/>
        <input type="hidden" name="jname" value="${jname}"/>
        <input type="hidden" name="mspch" value="${mspch}"/>
        <!--<div class="help">
            <b>注意：</b><br>
            1、您必须先导出面试成绩数据导入模版，填写其中的面试成绩，再使用本功能导入面试成绩。新导入的成绩会覆盖已有的成绩。<br>
            2、只有发送短信通知以后才能导入笔试成绩。<br>
            3、数据导入请上传excel格式(<b>后缀为：xls</b>)文件。
        </div>-->
        <table class="treeTable searchform">
            <thead>
            <tr>
                <td width="80">面试附件：</td>
                <td>
                    <div><input type="file" name="upfile" datatype="*" nullmsg="请选择要上传的文件"/></div>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <button type="submit" class="op">上传附件</button>
                </td>
            </tr>
            </thead>
        </table>
    </form>
</div>
<script src="/resources/js/jquery.form.js" type="text/javascript"></script>
<script type="text/javascript">
    /* $(document).ready(function() {
        $("#excelValid").Validform({
            ajaxPost: true,
            beforeSubmit:function(curform){
                curform.ajaxSubmit({
                    type:'post',
                    success:function(data){
                        if(data.state){
                            parent.$.Showmsg(data.Message);
                            parent.getList();
                            var index = parent.layer.getFrameIndex(window.name);
                            parent.layer.close(index);
                        }
                        else{
                            $.Showmsg(data.Message);
                        }
                    }
                });
                return false;
            }
        });
    }); */
</script>
</body>
</html>